# -*- coding:utf-8 -*-

import os
from pathlib import Path

BASE_DIR = Path(__file__).resolve().parent.parent

# 远端接收数据的服务器
Seweb = {
    "server": '10.60.20.200',
    "port": 8000,
    'login_url': '/api/login/',
    'logout_url': '/api/logout/',
    'server_account_url':'/api/SrvAccountViewSet/',
    'phy_server_url': '/api/PhyServerViewSet/',
    'request_timeout': 30,
    "login_data": {
        'captcha': '',
        'username' : 'superadmin',
        'password' : 'admin123456',
    },
}

# Zabbix Server
Zabbix = {
    'server': '10.60.22.64',
    "port": 80,
    'url': '/zabbix/api_jsonrpc.php',
    'headers': {'Content-Type': 'application/json-rpc'},
    'user': 'seweb',
    'password': 'Wcq@2024se'
}

# 日志文件配置

LOG_PATH_E = os.path.join(BASE_DIR, "log", "passwd_change_error.log")
LOG_PATH_S = os.path.join(BASE_DIR, "log", "passwd_change_success.log")

# 更多配置，请都集中在此文件中